using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._ConversionTools._ToGeodatabase
{
    /// <summary>
    /// <para>Mobile Geodatabase To File Geodatabase</para>
    /// <para>Copies the contents of a mobile geodatabase to a new file geodatabase.</para>
    /// <para>将移动地理数据库的内容复制到新的文件地理数据库。</para>
    /// </summary>    
    [DisplayName("Mobile Geodatabase To File Geodatabase")]
    public class MobileGdbToFileGdb : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public MobileGdbToFileGdb()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_mobile_gdb">
        /// <para>Input Mobile Geodatabase</para>
        /// <para>The mobile geodatabase that will have its contents copied to a new file geodatabase.</para>
        /// <para>将把其内容复制到新文件地理数据库的移动地理数据库。</para>
        /// </param>
        /// <param name="_out_file_gdb">
        /// <para>Output File Geodatabase</para>
        /// <para>The name and location of the output file geodatabase, for example, c:\temp\outputGeodatabases\copiedFGDB.gdb.</para>
        /// <para>输出文件地理数据库的名称和位置，例如 c：\temp\outputGeodatabases\copiedFGDB.gdb。</para>
        /// </param>
        public MobileGdbToFileGdb(object _in_mobile_gdb, object _out_file_gdb)
        {
            this._in_mobile_gdb = _in_mobile_gdb;
            this._out_file_gdb = _out_file_gdb;
        }
        public override string ToolboxName => "Conversion Tools";

        public override string ToolName => "Mobile Geodatabase To File Geodatabase";

        public override string CallName => "conversion.MobileGdbToFileGdb";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_mobile_gdb, _out_file_gdb];

        /// <summary>
        /// <para>Input Mobile Geodatabase</para>
        /// <para>The mobile geodatabase that will have its contents copied to a new file geodatabase.</para>
        /// <para>将把其内容复制到新文件地理数据库的移动地理数据库。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Mobile Geodatabase")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_mobile_gdb { get; set; }


        /// <summary>
        /// <para>Output File Geodatabase</para>
        /// <para>The name and location of the output file geodatabase, for example, c:\temp\outputGeodatabases\copiedFGDB.gdb.</para>
        /// <para>输出文件地理数据库的名称和位置，例如 c：\temp\outputGeodatabases\copiedFGDB.gdb。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output File Geodatabase")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_file_gdb { get; set; }


        public MobileGdbToFileGdb SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}